package beans;

import javax.faces.bean.ManagedBean;
import javax.faces.bean.RequestScoped;

import utils.Navigation;

@ManagedBean(name = "navigate")
@RequestScoped
public class NavigationBean {
	public String toHome(){
		return Navigation.HOME;
	}
	
	public String seeParty(){
		return Navigation.SHOW_PARTY;
	}
	
	public String seeCandidate(){
		return Navigation.SHOW_CANDIDATE;
	}
	
	public String votePage(){
		return Navigation.VOTE_PAGE;
	}
	
	public String seeParties(){
		return Navigation.SHOW_PARTIES;
	}
	
	public String seeGovernor(){
		return Navigation.GOVERNOR_PAGE;
	}
}
